package com.mql.mall.mallcart.controller;

import com.mql.mall.mallcart.interceptor.CartInterceptor;
import com.mql.mall.mallcart.vo.UserInfoTo;
import com.mql.mall.mallcommon.constant.AuthServerConstant;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpSession;

@Controller
public class IndexController {
    @GetMapping(value = "/cart.html")
    public String indexPage(HttpSession session){

        UserInfoTo userInfoTo = CartInterceptor.threadLocal.get();
        return "cartList";
    }
}
